import FormList from '@/components/FormList'
import type { FormItemType } from '@/components/FormList'
import styles from './index.module.less'

const UIFormList = (props: any) => {

  const formList: FormItemType[] = [
    {
      type: 'input',
      formProps: {
        name: 'name',
        label: '姓名',
      },
      itemProps: {
        initialValue: '123'
      }
    }
  ]

  return <div className={styles.UIFormList}>
    <FormList
      formList={formList}
      customFooter={<></>}
    />
  </div>
}

export default UIFormList
